package com.eol.entity.po.content;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 课程分类表
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020-06-09 10:53:15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("课程分类表")
public class ZCourseType implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类ID")
    @Id
    private String id;

    @ApiModelProperty(value = "分类名字")
    private String name;

    @ApiModelProperty(value = "上级分类")
    private String pid;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
